﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NHibernateEntities.Entities
{
    public class Article
    {
        public virtual int Id { get; set; }
        public virtual string Title { get; set; }
        public virtual string Short { get; set; }
        public virtual byte[] Content { get; set; }
        public virtual DateTime CreatedDate { get; set; }
        public virtual DateTime PostedDate { get; set; }
        public virtual bool IsPublish { get; set; }
        public virtual IList<Image> Images { get; set; }
        public virtual IList<Clip> Clips { get; set; }
        public virtual User CreatedBy { get; set; }
        public virtual User PostedBy { get; set; }
        public virtual Category Category { get; set; }
    }
}
